<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>文件上传</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>body{border-style:none;border-width:medium;margin:0pt;padding:0pt}</style>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" STYLE="background-color:transparent" scroll="no">
<form action="/upload.ad" method="post" enctype="multipart/form-data" name="uploadForm" id="uploadForm" style="height:0px">
  <input type="file" name="file">
  <input type="submit" name="Submit" value="上传">
  <input type="text" name="textfield" value="$!file"> 
</form>
</body>
</html>
#if($!msg)
<script>
alert('$!msg');
</script>
#end